package com.ruoyi.grape.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线上留言对象 tb_grape_msg
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long msgId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 留言时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "留言时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date msgTime;

    /** 电话 */
    @Excel(name = "电话")
    private String userTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String userEmail;

    /** 留言详情 */
    @Excel(name = "留言详情")
    private String msgDetails;

    /** 回复人 */
    @Excel(name = "回复人")
    private String replyName;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyDetails;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String pickNote;

    public void setMsgId(Long msgId) 
    {
        this.msgId = msgId;
    }

    public Long getMsgId() 
    {
        return msgId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setMsgTime(Date msgTime) 
    {
        this.msgTime = msgTime;
    }

    public Date getMsgTime() 
    {
        return msgTime;
    }
    public void setUserTel(String userTel) 
    {
        this.userTel = userTel;
    }

    public String getUserTel() 
    {
        return userTel;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setMsgDetails(String msgDetails) 
    {
        this.msgDetails = msgDetails;
    }

    public String getMsgDetails() 
    {
        return msgDetails;
    }
    public void setReplyName(String replyName) 
    {
        this.replyName = replyName;
    }

    public String getReplyName() 
    {
        return replyName;
    }
    public void setReplyDetails(String replyDetails) 
    {
        this.replyDetails = replyDetails;
    }

    public String getReplyDetails() 
    {
        return replyDetails;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPickNote(String pickNote) 
    {
        this.pickNote = pickNote;
    }

    public String getPickNote() 
    {
        return pickNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("msgId", getMsgId())
            .append("nickName", getNickName())
            .append("msgTime", getMsgTime())
            .append("userTel", getUserTel())
            .append("userEmail", getUserEmail())
            .append("msgDetails", getMsgDetails())
            .append("replyName", getReplyName())
            .append("replyDetails", getReplyDetails())
            .append("replyTime", getReplyTime())
            .append("status", getStatus())
            .append("pickNote", getPickNote())
            .toString();
    }
}
